namespace PMS.Common
{
    using System;
    using System.IO;

    public class Log
    {
        public static void Write(string content)
        {
            using (StreamWriter writer = new StreamWriter(Config.LogPath, true))
            {
                writer.WriteLine(DateTime.Now.ToString() + " " + content);
                writer.Flush();
            }
        }
    }
}

